package com.drcoffee.drcoffeemall.mapper;

import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface BsUserMapper {
    @Select("SELECT qw_user_id FROM t_bs_user WHERE account in (SELECT bs_user_account FROM t_bs_user_warn WHERE schedule = #{schedule})")
    List<String> getWxWorkUserId(Integer schedule);
}
